package ru.zombator.taskman.core.query.payload;

import ru.zombator.taskman.core.domain.ITask;
import ru.zombator.taskman.core.domain.IWorkTime;

/**
 * Запрос на задание затраченного рабочего времени.
 * 
 * @author nvamelichev
 *
 */
public class SetWorkTimeRequest implements IPayload {
	private static final long serialVersionUID = 1L;

	private ITask task;
	private IWorkTime workTime;
	
	public SetWorkTimeRequest(ITask task, IWorkTime workTime) {
		this.task = task;
		this.workTime = workTime;
	}
	
	public ITask getTask() {
		return this.task;
	}
	
	public IWorkTime getWorkTime() {
		return this.workTime;
	}
}
